using System;
using System.Collections.Generic;
using System.Text;
using log4net;

namespace EnCor
{
    public class Log4netHelper
    {
        private static readonly object obj = new object();
        private static ILog log = null;

        public static ILog Log
        {
            get
            {
                if (log == null)
                {
                    lock (obj)
                    {
                        if (log == null)
                        {
                            
                            log = log4net.LogManager.GetLogger("Logger");
                        }
                    }
                }

                return log;
            }
        }
    }
}
